LearnPress\Models\PostModel A

Total Complexity 55
Dependencies 13
Dependents 3
Total lines 460
Lines of code 195
Logical lines of code 122
Comment lines 199
Methods 20
Properties 14

Methods 20

Method Rating Maintainability Complexity Lines of code
get_image_url()
A
50 8 27
save()
S
51 6 27
get_item_model_from_db()
S
56 4 18
get_all_metadata()
S
56 4 18
get_meta_value_by_key()
S
62 4 11
check_capabilities_create_item_course()
S
61 3 11
check_capabilities_update_item_course()
S
61 3 11
get_tags()
S
66 3 8
get_categories()
S
66 3 8
__construct()
S
68 3 8
map_to_object()
S
67 3 8
get_author_model()
S
66 2 8
get_permalink()
S
69 2 7
get_id()
S
81 1 3
save_meta_value_by_key()
S
75 1 4
clean_caches()
S
91 1 2
get_the_content()
S
69 1 6
get_the_excerpt()
S
76 1 4
get_the_title()
S
80 1 3
get_edit_link()
S
79 1 3